<?php
$this->breadcrumbs = array(
    'Pages' => array('index'),
    'Manage',
);
?>
<div class="box dark">
    <header>
        <h5>Manage page <a class="btn" href="<?php echo BACKEND_SITE_URL ?>page/create">Create</a></h5>
    </header>
    <div class="body">
	<?php
	$this->widget('bootstrap.widgets.TbGridView', array(
	    'id' => 'page-grid',
	    'dataProvider' => $model->search(),
	    'filter' => $model,
	    'columns' => array(
		array(
		    'name' => 'page_id',
		    'header' => '#',
		    'htmlOptions' => array(
			'width' => 50
		    )
		),
		'name',
		'alias',
		'title',
		array(
		    'class' => 'bootstrap.widgets.TbButtonColumn',
		    'buttons' => array(
			'view' => array(
			    'url' => '$data->getUrl()'
			)
		    )
		),
	    ),
	));
	?>

    </div>
</div>
